import request from '@/utils/request'

export default {
  getBlogDictByCode(code) {
    return request({
      url: `/system/dict/getBlogDictByCode/${code}`,
      method: 'get'
    })
  },

  // 获取字典数据
  findChildData(id) {
    return request({
      url: `/system/dict/findChildData/${id}`,
      method: 'get'
    })
  },
  // 导出数据字典
  exportData() {
    return request({
      url: `/system/dict/export`,
      method: 'get'
    })
  }
}
